package com.feicheng.house.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author feichengTech
 * @since 2021-11-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Vip implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * vip主键
     */
    @TableId(value = "vip_id", type = IdType.AUTO)
      private Integer vipId;

    /**
     * 客户ID
     */
    private Integer clientId;

    public Integer getVipId() {
		return vipId;
	}

	public void setVipId(Integer vipId) {
		this.vipId = vipId;
	}

	public Integer getClientId() {
		return clientId;
	}

	public void setClientId(Integer clientId) {
		this.clientId = clientId;
	}

	public LocalDateTime getRegDate() {
		return regDate;
	}

	public void setRegDate(LocalDateTime regDate) {
		this.regDate = regDate;
	}
	
	public Integer getCardId() {
		return cardId;
	}

	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}

	public String getTimeLeft() {
		return timeLeft;
	}

	public void setTimeLeft(String timeLeft) {
		this.timeLeft = timeLeft;
	}

	public LocalDateTime getVipDeadline() {
		return vipDeadline;
	}

	public void setVipDeadline(LocalDateTime vipDeadline) {
		this.vipDeadline = vipDeadline;
	}

	public Boolean getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(Boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	/**
     * 会员注册日期
     */
    private LocalDateTime regDate;

    /**
     * VIP类型
     */
    private Integer cardId;

    /**
     * VIP剩余时间
     */
    private String timeLeft;

    /**
     * VIP到期时间
     */
    private LocalDateTime vipDeadline;

    /**
     * 删除位
     */
    private Boolean deleteFlag;


}
